package com.example.pjy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = {"com.example.pjy.mapper"})//扫描这个包下所有接口 放入ioc容器管理

public class PjyApplication {

	public static void main(String[] args) {
		SpringApplication.run(PjyApplication.class, args);
	}

}
